function myFunctionScreen() {
var x = "Total width : " + screen.width + "px";
var xx = "Total height : " + screen.height + "px";
var x1 = "Color Depth " + screen.colorDepth;
var x2 = "Pixel Depth " + screen.pixelDepth;
document.getElementById('demo').innerHTML = x + " " + xx + " " + x1 + " " + x2;
}
Volver al menu principal